<template>
  <dw-page-warpper>
    <DragCol height="100%" width="100%" :leftPercent="20" :sliderWidth="8" sliderBgColor="#e6ecf5" sliderBgHoverColor="#e6ecf5">
      <template #left>
        <dw-tree :readonly="true" :getTreeUrl="getTreeUrl" :addTreeUrl="addTreeUrl" :editTreeUrl="editTreeUrl" :delTreeUrl="delTreeUrl" :treeProps="treeProps"></dw-tree>
      </template>
      <template #right> </template>
    </DragCol>
  </dw-page-warpper>
</template>
<script setup lang="ts">
import { DragCol } from '@/components/vue-resizer';
defineOptions({
  name: 'TeamProject',
});
const getTreeUrl: string = '/admin-api/sys/team/tree';
const addTreeUrl: string = '/admin-api/sys/team';
const editTreeUrl: string = '/admin-api/sys/team';
const delTreeUrl: string = '/admin-api/sys/team/{id}';
const treeProps = { label: 'teamName', children: 'children' };
</script>
